package org.jeecg.modules.minqing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.minqing.entity.FavorablePolicy;

import java.util.List;

/**
 * @Description: 优惠政策
 * @Author: jeecg-boot
 * @Date:   2019-10-10
 * @Version: V1.0
 */
public interface IFavorablePolicyService extends IService<FavorablePolicy> {

    /**
     * queryTreeList 对应 queryTreeList 查询所有的所有优惠政策,以树结构形式响应给前端
     */
    public List<FavorablePolicy> builTree();

    List<FavorablePolicy> queryListByIds(List<String> ids );
}
